package com.henme.crm.service.admin;

import com.henme.crm.entity.admin.Authority;
import com.henme.crm.util.page.Page;

import java.util.List;

/**
 * @author Ruby liu
 * @version 1.0
 * @since 1.0
 */
public interface AuthorityService {
	void insertAuthority(Authority authority);
	void updateAuthority(Authority authority);
	void deleteAuthority(long id);
	Authority selectAuthority(long id);
	Page<Authority> getAuthorityList(Page<Authority> page);
	List<Authority> getAllAuthorityList();
	List<Authority> getAuthorityListByRoleId(long roleId);
}